package register

import (
	"github.com/crack007/go-im/src/common"
	"github.com/crack007/go-im/src/module/ws/counter"
	"github.com/crack007/go-im/src/module/ws/service"
	"github.com/prometheus/client_golang/prometheus"
)

func ServiceRegister() {
	common.Bootstrap()
	service.RegisterWsService()
	prometheusRegister()
}
func prometheusRegister() {
	prometheus.Register(counter.UserCounter)
	prometheus.Register(counter.CustomerCounter)
}
